<?php


namespace App\Https\Controllers;

use Library\Components\Container;
use Library\Https\Controller;

class IndexController extends Controller
{
    public function index($params)
    {
        // 自定义ioc容器
        $container = new Container();
        $container->set(A::class);
        return $this->response->json($params);
    }
}